﻿
using Application.Login.Views;
using Application.Share.PrismNames;
using Prism.Ioc;
using Prism.Modularity;

namespace Application.Login
{
    // OnDemand = true,启动延时加载，适用于大型项目中一些不常用的模块，登录模块不需要使用
    [Module(ModuleName = ModuleNames.ApplicationLoginModule)]
    public class ApplicationLoginModule: IModule
    {
       
        public void OnInitialized(IContainerProvider containerProvider)
        {
           
        }
        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<LoginView>();//注册导航 container容器中
        }
    }
}
